package com.example.ssm.service;

import com.example.ssm.entity.User;

import java.io.IOException;
import java.util.List;

public interface UserService {
    public User login(User user) throws IOException;
    public boolean submit(User user) throws IOException;
    public List<User> selectAllUser() throws IOException;

    public List<User> selectLikePermission(User user) throws IOException;
    public List<User> selectLikeUnamePermission(User user) throws IOException;//uname  Permission
    public List<User> selectLikeUnamePhonenumberPermission(User user) throws IOException;//uname  phonenumber  Permission
    public List<User> selectLikePermissionphonenumber(User user) throws IOException;//phonenumber  Permission
    public boolean addShop( User user) throws IOException;
    public User selectByName(User user) throws IOException;
    boolean addMoney(User user) throws IOException;






}
